package com.icehelper.hades.base.util.entity;

/**
 * 对子
 */
import lombok.Data;

@Data
public class Pair<K, V> {
    public Pair() {
    }

    public Pair(K k, V v) {
        this.k = k;
        this.v = v;
    }

    private K k;

    private V v;

    public static <K, V> Pair<K, V> of(K k, V v) {
        return new Pair<>(k, v);
    }
}
